/*
 * <p>Title:       简单的标题</p>
 * <p>Description: 稍详细的说明</p>
 * <p>Copyright:   Copyright (c) 2004</p>
 * <p>Company:     东软集团股份有限公司</p>
 */
package com.ll.core.httpbase;

import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;

public abstract class HttpHandler {
	
	protected HttpUtil httpUtil;
	public  HttpHandler(HttpUtil hu){
		this.httpUtil = hu;
	}
	
	public abstract void beforerequest(HttpURLConnection httpConnection) throws Exception;
	
	public abstract void sendRequesthandler(HttpURLConnection httpConnection,HttpRequest httpRequest)throws Exception ;

	public abstract HttpResponse getResponsehandler(HttpURLConnection httpConnection) throws Exception ;
}
